<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<?xml version="1.0" encoding="UTF-8"?>
<%@include file="/base.jsp" %>

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//WAPFORUM//DTD XHTML Mobile 1.0//EN" "http://www.wapforum.org/DTD/xhtml-mobile10.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>


	<title>${gamename}——填写个人资料</title>
</head>
<body>
<c:if test="${not empty notice}">
${notice}
<br/>
</c:if>

20秒填写完后，就正式成为学员啦！
<br/>
<div class="sec nav"></div>
<br/>
<form action="<hn:url url='/xhtml/login/userRegister.action'/>" method="get">
 ☆用户名(建议使用手机号)<br/>
<input type="text" maxlength="11" value="${loginname}" name="loginname"><br/>
 ☆密码<br/>
<input type="password" name="password"><br/>
 ☆性别<br/>
<%
//String sex=(String)request.getAttribute("sex");
String sex = "0";
String checkFemale="checked='checked'";
String checkMale="checked='checked'";
java.util.Random random=new java.util.Random();

String nickname = "火星人"+Math.abs(random.nextInt());
if(sex==null)
{
	sex="1";
}

if(sex.equals("0"))
{
	checkMale="";
}
else if(sex.equals("1"))
{
	checkFemale="";
}
%>
<input type='radio' <%=checkFemale %> name='sex' value='1'>美女   
<input type='radio' <%=checkMale %> name='sex' value='0'>帅哥<br/>
 ☆昵称<br/>
<input type="text" maxlength="5" value="<%=nickname%>" name="nickname"><br/>
<input type="submit" value="都填完了，交资料">
</form>
<div class="sec nav"></div>
<br/>
<a href="<hn:url url='/'/>">返回登录</a>
<br/>
</body>
</html> 